package org.example.workbench.service.impl;

import org.example.workbench.domain.TranHistory;
import org.example.workbench.mapper.TranHistoryMapper;
import org.example.workbench.service.TranHistroyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service("TranHistroyService")
public class TranHistroyImpl implements TranHistroyService {
    @Autowired
    private TranHistoryMapper tranHistoryMapper;

    @Override
    public List<TranHistory> getTranHistoriesByTranId(String tranId) {
        return tranHistoryMapper.getTranHistoriesByTranId(tranId);
    }
}
